home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / text / StringContent$UndoPosRef.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  742 b   |  19 lines

  1. package javax.swing.text;
  2.  
  3. final class StringContent$UndoPosRef {
  4.    // $FF: synthetic field
  5.    private final StringContent this$0;
  6.    protected int undoLocation;
  7.    protected StringContent.PosRec rec;
  8.  
  9.    StringContent$UndoPosRef(StringContent var1, StringContent.PosRec var2) {
  10.       this.this$0 = var1;
  11.       this.rec = var2;
  12.       this.undoLocation = var2.offset;
  13.    }
  14.  
  15.    protected void resetLocation() {
  16.       this.rec.offset = this.undoLocation;
  17.    }
  18. }
  19.